package com.exwave.socialgame.model_wolfgame.wolfdata;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("Player 玩家实体类")
public class Player {
    @ApiModelProperty("玩家ID")
    private int uid;  //yinghu iD
    @ApiModelProperty("昵称")
    private String name;//昵称
    @ApiModelProperty("头像ID")
    private String avatar;//头像
    @ApiModelProperty("位置编号")
    private int num; //位置编号
    @ApiModelProperty("角色")
    private Role role;

    public Player(String name, String avatar, int num) {
        this.avatar = avatar;
        this.name = name;
        this.num = num;
    }

    public Player() {
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Role getRole() {
        return role;
    }

    public void setRole(Role role) {
        this.role = role;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }
}
